package guojin.sqlsession;

import guojin.pojo.Configeration;
import guojin.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

/**
 * @author haoge
 * @version $Id Executor.java, v 0.1 2021-06-12 23:05 haoge Exp $$
 */
public interface Executor {
    public <T> List<T> query(Configeration configeration, MappedStatement mappedStatement, Object... paraes) throws SQLException, Exception;
    public int insert(Configeration configeration, MappedStatement mappedStatement, Object... paraes) throws SQLException, Exception;
}
